﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using BO;
using Csla;
namespace UI.Core
{
    public partial class ObjectFormBase : Form
    {
        protected ObjectFormBase()
        {
            InitializeComponent();
            
        }
        protected override void OnLoad(EventArgs e)
        {
            base.OnLoad(e);
            if (CurObj != null)
                InitData();
        }
        protected BusinessBaseEx CurObj { get; set; }

    
        protected virtual void InitData()
        {

        }
        private void btnClose_Click(object sender, EventArgs e)
        {
            this.Close();
        }
    }
}
